package cc.geguol.scm.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cc.geguol.scm.entity.Supplier;

/**
 * 作者  Administrator
 * 时间  2017/5/11 9:54
 * 文件  Scm
 * 描述  测试异步
 */
@Controller
@RequestMapping("/supplier")
public class SupplierAction {


	@RequestMapping("/doAjax")
	public @ResponseBody Supplier doAjax(Supplier supplier){
		System.out.println("---doAjax.supplier:"+supplier);
		supplier.setSupName("supName1");
		return supplier;
	}


}
